package com.zkzx.company.api.mapper;

import com.zkzx.company.api.mapper.entity.CompanyAuthority;
import com.zkzx.company.api.mapper.entity.CompanyAuthorityExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface CompanyAuthorityMapper {
    long countByExample(CompanyAuthorityExample example);

    int deleteByExample(CompanyAuthorityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CompanyAuthority record);

    int insertSelective(CompanyAuthority record);

    List<CompanyAuthority> selectByExample(CompanyAuthorityExample example);

    CompanyAuthority selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CompanyAuthority record, @Param("example") CompanyAuthorityExample example);

    int updateByExample(@Param("record") CompanyAuthority record, @Param("example") CompanyAuthorityExample example);

    int updateByPrimaryKeySelective(CompanyAuthority record);

    int updateByPrimaryKey(CompanyAuthority record);
}